package com.mavenq.fly.business.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

@Data
@TableName("sys_operation_log")
public class OperationLog {
    @TableId(type = IdType.AUTO)
    private Long id;
    
    private String title;
    private String operation;
    private String method;
    private String params;
    private String result;
    private String errorMsg;
    private Integer status; // 0-成功 1-失败
    private Date operationTime;
    private String ip;
    private Long operatorId;
    private String operatorName;
    private Long executionTime; // 执行时间(毫秒)
}